#ifndef PLOT_H
#define PLOT_H


#include <qwt_plot.h>
#include <qwt_plot_spectrogram.h>
#include <qwt_plot_zoomer.h>
#include <vector>

class Plot: public QwtPlot
{
    Q_OBJECT

public:
    Plot( QWidget * = NULL );
    Plot( std::vector<std::vector<double> > &matrix ,
          const double duration, const double LowFreq, const double HighFreq, QWidget * = NULL);

public Q_SLOTS:
    void exportPlot();
    void setResampleMode( int );

private:
    QwtPlotSpectrogram *d_spectrogram;
};

#endif // PLOT_H
